<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body></body>
</html>

<script>
  for (i = 1; i <= 35; i++) {
    let foot = 94 - i * 2;
    if (35 * 2 == foot) {
      console.log(`有${i}只兔子和${35 - i}只鸡`);
      break;
    }
  }
</script>
